(function (doc, win) {
    var docEl = doc.documentElement,
        resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
        recalc = function () {
            var clientWidth = docEl.clientWidth;
            if (!clientWidth) return;
            var width = 2205;
           
            if (clientWidth >= width) {
                docEl.style.fontSize = '100px';
            } else if (clientWidth >= 1165) {
                docEl.style.fontSize = 100 * (clientWidth / width) + 'px';
            }
            else {
                docEl.style.fontSize = 100 * (1165 / width) + 'px';
            }
            
           
        };

    if (!doc.addEventListener) return;
  
    win.addEventListener(resizeEvt, recalc(), false);
    doc.addEventListener('DOMContentLoaded', recalc(), false);
})(document, window);

$(function () {
    var time;
    $(".nextlogin_div").hover(function () {

        var _this = this;
        time = setTimeout(function () {
            $(_this).find(".nextimg").animate({ "opacity": '0.8' }, 200)
        }, 300)

    }, function () {
        clearTimeout(time)

        $(this).find(".nextimg").animate({ "opacity": '0' }, 200)


    })
    $(".input-effect input").focusout(function () {
        if ($(this).val() != "") {
            $(this).addClass("has-content");
        } else {
            $(this).removeClass("has-content");
        }
    })


})
function hidediaolog() {
    headvue.showlang = false
    headvue.shownotice = false
    meun.showuserinfoaction = false;
}
